package com.tom.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author zx
 * @date 2024-11-09 18:08
 */
@Mapper
public interface AnalysisSqlMapper {

    /**
     * 执行动态SQL
     *
     * @param sql SQL脚本解析后的SQL
     * @return 对应SQL的结果集
     */
    List<Map<String, Object>> executeDynamicSql(@Param("sql") String sql);
}
